// 定义一个 actionCreator => 创建 action => 接收 payload => 返回值就是 action
export const decrement = (payload) => ({
  type: 'DECREMENT',
  payload,
})

export const increment = (payload) => ({
  type: 'INCREMENT',
  payload,
})
